package com.app.base.service.core.recruit.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 招聘信息发布表
 * @author yuhag
 * @since 2022-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RecruitDetail对象", description="招聘信息发布表")
public class RecruitDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "招聘人数")
    private Integer numPeople;

    @ApiModelProperty(value = "招聘内容")
    private String jobContent;

    @ApiModelProperty(value = "条件")
    private String conditions;

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "岗位id")
    private String positionId;

    @ApiModelProperty(value = "公司id")
    private String companyId;

    @ApiModelProperty(value = "最低工资范围")
    private Double minSalary;

    @ApiModelProperty(value = "最高工资范围")
    private Double maxSalary;

    @ApiModelProperty(value = "发布开始时间")
    private Date startTime;

    @ApiModelProperty(value = "期限结束时间")
    private Date endTime;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "修改人")
    private String modifyBy;

    @ApiModelProperty(value = "归档时间")
    private Date filingTime;

    @ApiModelProperty(value = "状态 是否销毁 是0 否1")
    private Integer status;

    @TableField(exist = false)
    private String position;

    @TableField(exist = false)
    private String dept;

    @TableField(exist = false)
    private String[] orgId;

    @TableField(exist = false)
    private Date[] rangeDate;

    @TableField(exist = false)
    private String salaryRange;

    @TableField(exist = false)
    private String dateRange;

}
